package com.example.demo.mapper;

import com.example.demo.entity.cart;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface cartMapper {
    public List<cart> selectcartByuser(String user);

    public void addcart(cart cart);


    public void delete(List<cart> list);

    public void deletebyuser(String user);
    public  void updatecart(String user,String address);


}
